module.exports = class extends think.Logic {
  addAction() {
    this.rules = {
      name: {
        required: true,
        aliasName: "名称"
      }
    };
  }
  updateAction() {
    this.rules = {
      id: {
        required: true,
        aliasName: "编号"
      }
    };
  }
  detailAction() {
    this.rules = {
      id: {
        required: true,
        aliasName: "编号"
      }
    };
  }
  delAction() {
    this.rules = {
      id: {
        required: true,
        aliasName: "编号"
      }
    };
  }
};
